package org.example.Service;

import org.apache.ibatis.annotations.Mapper;
import org.example.Dao.ApplicationsDao;
import org.example.Pojo.Applications;
import org.example.Utils.UnionResult;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

@Mapper
public interface ApplicationsService {
    UnionResult CreateApplication(Applications application);
    UnionResult QueryMyApplication(Applications application);
    UnionResult QueryUserApplication(Applications application);
    UnionResult CancelApplication(Applications application);
    UnionResult GetApplication(Applications application);
    UnionResult UpdateApplication(Applications application);
    UnionResult UploadApplicationFile(MultipartFile file) throws IOException;
    UnionResult GetPassed();
}
